package com.ruoyi.stock2.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 日期分组预测结果对象 FORERESULTGROUPBYDATE
 * 
 * @author ruoyi
 * @date 2019-12-06
 */
public class FORERESULTGROUPBYDATE extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 日期 */
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 买入 */
    @Excel(name = "买入")
    private String buy;

    /** 卖出 */
    @Excel(name = "卖出")
    private String sell;

    private String industry;

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setBuy(String buy) 
    {
        this.buy = buy;
    }

    public String getBuy() 
    {
        return buy;
    }
    public void setSell(String sell) 
    {
        this.sell = sell;
    }

    public String getSell() 
    {
        return sell;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createdate", getCreatedate())
            .append("buy", getBuy())
            .append("sell", getSell())
            .toString();
    }
}
